const {Schema}=require('../conn')
//导出表集合
module.exports=new Schema({
    username:{
        type:String,
        minlength:2,
        required:true
    },
    password:{
        type:String,
        minlength:2,
        required:true
    },
    nikename:String,
    phone:{
        type:Number,
    },
    email:String,
    hobbies:[],
    introduce:String
})